let vm1 = new Vue({
    el:"#deng-shang-1-2",
    data:{user:{},},
    created:function () {
        axios.get("/check").then(function (response) {
            vm1.user=response.data
        })

    }
})
let vmnew = new Vue({
    el:"#news",
    data: {n_arr:[],
        kw:""},
    created:function(){
        axios.get("/news/selectLimit").then(function (response) {
            vmnew.n_arr=response.data
        })

    },
    methods:{
        search:function () {
            location.href ="/news.html?kw="+vmnew.kw
        },
        jump:function (title) {
            location.href="/news.html?kw="+title
        }
    }
})